{
 "cells": [
  {
   "cell_type": "markdown",
   "source": [
    "- HTML，骨架。\n",
    "- CSS，点缀更好。\n",
    "- JavaScript，动起来。\n",
    "\n",
    "- 前后端不分离：HTML、CSS、JavaScript、jQuery、BootStrap。\n",
    "- 前后端分离：HTML、CSS、JavaScript、vue.js 、elementui 。\n",
    "\n",
    "- Flask框架，短小精悍可扩展强 + 第三方组件。\n",
    "- Django框架，Web开发的重武器内部集成了很多组件 + 第三方组件。"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "f3c93a137552bfc3"
  },
  {
   "cell_type": "markdown",
   "source": [
    "pip install flask\n",
    "pip install django"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "d404e0451ce17262"
  },
  {
   "cell_type": "markdown",
   "source": [
    "手动创建项目(用系统解释器)\n",
    "\n",
    "1. 打开cmd\n",
    "2. cd 指定目录\n",
    "3. django-admin startproject crm\n",
    "4. cd  crm\n",
    "5. python manage.py runserver"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "9e26511c170dd08"
  },
  {
   "cell_type": "markdown",
   "source": [
    "项目目录\n",
    "crm\n",
    "\tmanage.py           [管理当前项目]\n",
    "\tcrm\n",
    "\t\t- settings.py   [一部分项目配置]\n",
    "\t\t- wsgi.py\n",
    "\t\t- asgi.py       [启动项目，接收浏览器发送的请求]\n",
    "\t\t- urls.py       [对应关系]   url  ->  函数"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "76860ed81e7986f1"
  },
  {
   "cell_type": "markdown",
   "source": [
    "![jupyter](./png/img_9.png)"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "72f9c8aa1bb493ff"
  },
  {
   "cell_type": "markdown",
   "source": [],
   "metadata": {
    "collapsed": false
   },
   "id": "ec6ce2bbc6c499de"
  },
  {
   "cell_type": "code",
   "outputs": [],
   "source": [],
   "metadata": {
    "collapsed": false
   },
   "id": "de2efb249fae32c6"
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
